<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

        <title>会员列表</title>

        <link href="{$smarty.const.ADMIN_CSS_URL}mine.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
        <style>
            .tr_color{ background-color: #9F88FF }
        </style>
        <div class="div_head">
            <span>
                <span style="float: left;">当前位置是：角色管理-》角色列表</span>
                <span style="float: right; margin-right: 8px; font-weight: bold;">
                    <a style="text-decoration: none;" href="http://think.php.com/shop/index.php/Admin/Goods/tianjia">【添加角色】</a>
                </span>
            </span>
        </div>
        <div></div>
        <div class="div_search">
            <span>
                <form action="#" method="get">
                    品牌<select name="s_product_mark" style="width: 100px;">
                        <option selected="selected" value="0">请选择</option>
                        <option value="1">苹果apple</option>
                    </select>
                    <input value="查询" type="submit" />
                </form>
            </span>
        </div>
        <div style="font-size: 13px; margin: 10px 5px;">
            <table class="table_a" border="1" width="100%">
                <tbody><tr style="font-weight: bold;">
                        <td>序号</td>
                        <td>角色名称</td>

                        <td align="center" colspan="3">操作</td>
                    </tr>
                    
                    {foreach $info as $k => $v}

                    <tr id="product1">
                        <td>{$v.role_id}{*$v@iteration从1开始遍历的序号*}</td>
                        <td><a href="#">{$v.role_name}</a></td>
                        <!--<td>{$v.goods_number}</td>-->
                        <!--<td>{$v.goods_price}</td>-->
                        <!--<td><img src="{$smarty.const.SITE_HTTP}{$v.goods_big_img}" height="60" width="60"></td>-->
                        <!--<td><img src="{$smarty.const.SITE_HTTP}{$v.goods_small_img}" height="40" width="40"></td>-->
                        <!--<td>{$v.goods_brand_id}</td>-->
                        <!--<td>{$v.goods_create_time|date_format:"%Y-%m-%d %T"}</td>-->
                        <!--<td><a href="{$smarty.const.__CONTROLLER__}/xiugai/goods_id/{$v.goods_id}">修改</a></td>-->
                        <td><a href="{$smarty.const.__CONTROLLER__}/distribute/role_id/{$v.role_id}">分配权限</a> </td>
                        <td><a href="">修改</a> </td>
                        <td><a href="javascript:;" onclick="delete_product(1)">删除</a></td>
                    </tr>
                    {/foreach}
                    <!-- <tr id="product2">
                        <td>2</td>
                        <td><a href="#">苹果（APPLE）iPhone 4</a></td>
                        <td>100</td>
                        <td>3100</td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174248-28718.jpg" height="60" width="60"></td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174248-87501.jpg" height="40" width="40"></td>
                        <td>苹果apple</td>
                        <td>2012-10-18 17:42:48</td>
                        <td><a href="#">修改</a></td>
                        <td><a href="javascript:;" onclick="delete_product(2)">删除</a></td>
                    </tr>
                    <tr id="product3">
                        <td>3</td>
                        <td><a href="#">苹果（APPLE）iPhone 4 8G版</a></td>
                        <td>100</td>
                        <td>1290</td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174346-31424.jpg" height="60" width="60"></td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174346-54660.jpg" height="40" width="40"></td>
                        <td>苹果apple</td>
                        <td>2012-10-18 17:43:46</td>
                        <td><a href="#">修改</a></td>
                        <td><a href="javascript:;" onclick="delete_product(3)">删除</a></td>
                    </tr>
                    <tr id="product4">
                        <td>4</td>
                        <td><a href="#">苹果（APPLE）iPhone 4S 16G版</a></td>
                        <td>100</td>
                        <td>987</td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174455-91962.jpg" height="60" width="60"></td>
                        <td><img src="{$smarty.const.ADMIN_IMG_URL}20121018-174455-10118.jpg" height="40" width="40"></td>
                        <td>苹果apple</td>
                        <td>2012-10-18 17:44:30</td>
                        <td><a href="#" >修改</a></td>
                        <td><a href="#" >删除</a></td>
                    </tr> -->
                    <tr>
                        <td colspan="20" style="text-align: center;">
                            {$pagelist}
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </body>
</html>